#ifndef RELAYEVENT_H
#define RELAYEVENT_H

#include <QEvent>

class RelayEvent : public QEvent
{
public:
    RelayEvent(void *data, int action);
    ~RelayEvent();

    static const int RELAY_EVENT = (QEvent::User + 1);

    void *data();
    int action();

private:
    void *m_pData;
    int m_nAction;
};

#endif // RELAYEVENT_H
